import { Injectable } from '@angular/core';
import * as io from 'socket.io-client';
import { environment } from './../../../environments/environment';
// http://bbs.itying.com/topic/5dbac1c71678fe1b4c01c085  nginx参考配置

@Injectable({
  providedIn: 'root'
})
export class SocketioService {
  public socket = io(`${environment.webSocketUrl}`);
  constructor () { }
}
